package com.ruoyi.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.ams.domain.AmsAssetRepairRecordDetail;

import java.util.List;

/**
 * 维修明细Service接口
 * 
 * @author yfkj
 * @date 2022-05-16
 */
public interface IAmsAssetRepairRecordDetailService  extends IService<AmsAssetRepairRecordDetail>
{
    /**
     * 查询维修明细
     * 
     * @param repairRecordDetailId 维修明细主键
     * @return 维修明细
     */
    public AmsAssetRepairRecordDetail selectAmsAssetRepairRecordDetailByRepairRecordDetailId(Long repairRecordDetailId);

    /**
     * 查询维修明细列表
     * 
     * @param amsAssetRepairRecordDetail 维修明细
     * @return 维修明细集合
     */
    public List<AmsAssetRepairRecordDetail> selectAmsAssetRepairRecordDetailList(AmsAssetRepairRecordDetail amsAssetRepairRecordDetail);

    /**
     * 新增维修明细
     * 
     * @param amsAssetRepairRecordDetail 维修明细
     * @return 结果
     */
    public int insertAmsAssetRepairRecordDetail(AmsAssetRepairRecordDetail amsAssetRepairRecordDetail);

    /**
     * 修改维修明细
     * 
     * @param amsAssetRepairRecordDetail 维修明细
     * @return 结果
     */
    public int updateAmsAssetRepairRecordDetail(AmsAssetRepairRecordDetail amsAssetRepairRecordDetail);

    /**
     * 批量删除维修明细
     * 
     * @param repairRecordDetailIds 需要删除的维修明细主键集合
     * @return 结果
     */
    public int deleteAmsAssetRepairRecordDetailByRepairRecordDetailIds(Long[] repairRecordDetailIds);

    /**
     * 删除维修明细信息
     * 
     * @param repairRecordDetailId 维修明细主键
     * @return 结果
     */
    public int deleteAmsAssetRepairRecordDetailByRepairRecordDetailId(Long repairRecordDetailId);
}
